//
//  UserModel.m
//  IntegralDog
//
//  Created by HanenDev on 16/3/15.
//  Copyright © 2016年 hanen. All rights reserved.
//

#import "UserModel.h"

@implementation UserModel

- (void)setValue:(id)value forUndefinedKey:(NSString *)key{}

- (void)setValue:(id)value forKey:(NSString *)key
{
    if ([key isEqualToString:@"id"]) {
        [super setValue:value forKey:@"uid"];
    }else{
        [super setValue:value forKey:key];
    }
}
@end
